package com.jigsaw.controller;

import com.jigsaw.model.MoviesCateEntity;
import com.jigsaw.model.MoviesInfoEntity;
import com.jigsaw.repository.MoviesRepository;
import com.jigsaw.util.TokenProcessor;
import org.json.JSONException;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by Jigsaw on 2016/4/9.
 */
@Controller
public class TestController {



    @RequestMapping(value = "/test", method = RequestMethod.GET)
    public String index() {
        return "index";
    }
}
